package cn.wolfcode.p2p.base.service;

import cn.wolfcode.p2p.base.domain.VideoAuth;
import com.github.pagehelper.PageInfo;
import cn.wolfcode.base.QueryObject;

public interface IVideoAuthService {

    /**
     * 多条件过滤和分页查询
     *
     * @param qo 封装查询条件
     * @return
     */
	PageInfo<VideoAuth> query(QueryObject qo);

    VideoAuth get(Long videoAuthId);

    /**
     * 视频申请
     * @param appointmentDate
     * @param appointmentTime
     * @param customServiceId
     */
    void apply(String appointmentDate, String appointmentTime, Long customServiceId);

    /**
     * 视频认证
     * @param viderAuthId
     * @param state
     * @param remark
     */
    void audit(Long videoAuthId, int state, String remark);
}